how to access the html elements in js